package com.xhu.collegestudentrentalsystem.util.constant;

/**
 * @author zhu huilin
 * @date 2023/3/30 13:11
 *  字符串常量工具类
 */
public class PointMsg {
    /**
     * 登录相关提示
     */
    public static interface login{
        public String UN_LOGIN = "请先登录";
        public String ERROR_PASSWORD = "(用户密码错误)";
        public String UN_REGISTER = "（用户未注册）";
        public String LOGIN_SUCCESS = "（登录成功）";
        public String VERIFY_CODE_EXPIRED = "（验证码已过期）";
        public String ERROR_VERIFY_CODE = "（验证码错误）";
        public String VERIFY_CODE_OUTPUT_FAIL ="验证码输出失败。。。";
        public String LOGIN_OUT = "logout";
    }

    /**
     * 操作信息（成功和失败）
     */
    public static interface operation{
        public String OPERATION_SUCCESS = "操作成功";
        public String OPERATION_FAIL = "操作失败，请稍后再试";
    }

    /**
     * 删除信息（成功和失败）
     */
    public static interface delete{
        public String DELETE_SUCCESS = "删除成功";
        public String DELETE_FAIL = "删除失败，请稍后再试";
    }

    /**
     * 修改信息（成功和失败）
     */
    public static interface modify{
        public String MODIFY_SUCCESS = "修改成功";
        public String MODIFY_FAIL = "修改失败，请稍后再试";
    }

    /**
     * 出错提示
     */
    public static interface error{
        public String ERROR = "出错了，请稍后再试";
    }

    /**
     * 注册相关提示
     */
    public static interface register{
        public String EXIST_EMAIL = "邮箱已注册";
        public String REGISTER_SUCCESS = "注册成功";
        public String REGISTER_FAIL = "注册失败，请稍后再试";
        public String ERROR_EMAIL_CODE = "验证码错误或已过期";
        public String EXIST_USERNAME = "用户名已存在，不可重复注册";
        public String NONE = "";
    }

    /**
     * 密码修改相关提示
     */
    public static interface password{
        public String UPDATE_PASSWORD_SUCCESS = "密码修改成功，请重新登录";
        public String UPDATE_PASSWORD_FAIL = "密码修改失败，请稍后再试";
        public String ERROR_OLD_PASSWORD = "原密码错误";
        public String SAME_PASSWORD = "新密码不能和原密码相同";
    }

    /**
     * 新闻相关提示信息
     */
    public static interface news{
        public String NOT_FOUND = "未找到新闻信息，请稍后再试";
        public String ADD_SUCCESS = "发布成功";
        public String ADD_FAIL = "发布失败，请稍后再试";
    }

    /**
     * 反馈信息相关提示信息
     */
    public static interface feedback{
        public String SUBMIT_SUCCESS = "已提交反馈信息，请耐心等待处理";
        public String SUBMIT_FAIL = "提交反馈失败，请稍后再试";
    }

    /**
     * 房子相关提示信息
     */
    public static interface house{
        public String UN_COMPLETE_INFO = "请完整填写带红色星号内容";
        public String REPEAT_HOUSE_CARD = "添加失败，该房产证号已通过审核，不可重复上传";
        public String ADD_SUCCESS = "添加成功，请耐心等待审核";
        public String ADD_FAIL = "添加失败，请稍后再试";
        public String NOT_FOUND = "当前您还未发布任何房源信息";
        public String HOUSE_INFO_NOT_FOUND = "房子信息不存在";
        public String NO_PERMISSION = "您没有权限操作别人的房子";
        public String HOUSE_HAS_RENT = "房子已被租用，不可操作";
        public String DOWN_SUCCESS = "下架成功";
        public String DOWN_FAIL = "下架失败，请稍后再试";
        public String UP_SUCCESS = "上架成功";
        public String UP_FAIL = "上架失败，请稍后再试";
    }

    /**
     * 收藏相关提示信息
     */
    public static interface mark{
        public String MARK_SUCCESS = "收藏成功";
        public String MARK_FAIL = "收藏失败，请稍后再试";
        public String CANCEL_MARK_SUCCESS = "取消收藏成功";
        public String CANCEL_MARK_FAIL = "取消收藏失败，请稍后再试";
    }

    /**
     * 订单相关提示信息
     */
    public static interface order{
        public String EMPTY_START_DATE = "请填写入住日期";
        public String EMPTY_END_DATE = "请填写退租日期";
        public String ERROR_DATE_RANGE = "日期范围不正确";
        public String REPEAT_ORDER_DATE = "您在此时间范围内已有订单，请勿重复预定";
        public String ORDER_FAIL = "预定失败，请稍后再试";
        public String ORDER_SUCCESS = "预定成功，签订合同后可入住";
        public String UN_EXIST_ORDER = "订单走失了，请稍后再试";
        public String NO_PERMISSION_SIGN = "房子已出租或为不可租状态，现在不可签约";
        public String UN_EXIST_HOUSE_OWNER = "房东信息不存在，无法租住该房子";
        public String SIGN_SUCCESS = "签约成功";
        public String SIGN_FAIL = "签订失败，请稍后再试";
        public String NO_PERMISSION_CHECK = "您没有权限查看当前订单";
        public String PAY_SUCCESS = "支付成功";
        public String PAY_FAIL = "支付失败，请稍后再试";
        public String CANCEL_ORDER_SUCCESS = "取消订单成功";
        public String CANCEL_ORDER_FAIL = "取消订单失败，请稍后再试";
        public String ASK_RETURN_SUCCESS = "已申请退租，请等待审核";
        public String ASK_RETURN_FAIL = "申请退租失败，请稍后再试";
        public String RETURN_ORDER_SUCCESS = "退租完成";
        public String RETURN_ORDER_FAIL = "退租失败，请稍后再试";
        public String BACK_ASK_SUCCESS = "驳回退租成功";
        public String BACK_ASK_FAIL = "驳回失败，请稍后再试";
    }

    /**
     * 评分相关信息
     */
    public static interface score{
        public String SUBMIT_SUCCESS = "感谢您的评分";
        public String SUBMIT_FAIL = "出错了，请稍后再试";
    }

    /**
     * 评论帖子相关信息
     */
    public static interface discussPost{
        public String POST_NOT_EXIST = "帖子不存在或已被删除";
    }

}
